package rerac;

import java.io.IOException;

import goalie.Workflow;

/**
 * This runs a pipeline of components.
 * The workflow of the pipeline is determined by a Gaolie configuration file.
 * 
 * @author Benjamin Roth
 * 
 */
public class Rerac {
  public static void main(String[] args) throws IOException {
    if (args.length != 1) {
      System.out.println("Usage: Rerac config.file");
    } else {
      Workflow.registerAll("rerac.components");
      Workflow wf = new Workflow();
      wf.run(args[0]);
    }
  }
}
